package com.cn.dream_order_server.pojo;

import java.util.ArrayList;
import java.util.List;

public class UserSiteExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserSiteExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andSiteIdIsNull() {
            addCriterion("site_id is null");
            return (Criteria) this;
        }

        public Criteria andSiteIdIsNotNull() {
            addCriterion("site_id is not null");
            return (Criteria) this;
        }

        public Criteria andSiteIdEqualTo(String value) {
            addCriterion("site_id =", value, "siteId");
            return (Criteria) this;
        }

        public Criteria andSiteIdNotEqualTo(String value) {
            addCriterion("site_id <>", value, "siteId");
            return (Criteria) this;
        }

        public Criteria andSiteIdGreaterThan(String value) {
            addCriterion("site_id >", value, "siteId");
            return (Criteria) this;
        }

        public Criteria andSiteIdGreaterThanOrEqualTo(String value) {
            addCriterion("site_id >=", value, "siteId");
            return (Criteria) this;
        }

        public Criteria andSiteIdLessThan(String value) {
            addCriterion("site_id <", value, "siteId");
            return (Criteria) this;
        }

        public Criteria andSiteIdLessThanOrEqualTo(String value) {
            addCriterion("site_id <=", value, "siteId");
            return (Criteria) this;
        }

        public Criteria andSiteIdLike(String value) {
            addCriterion("site_id like", value, "siteId");
            return (Criteria) this;
        }

        public Criteria andSiteIdNotLike(String value) {
            addCriterion("site_id not like", value, "siteId");
            return (Criteria) this;
        }

        public Criteria andSiteIdIn(List<String> values) {
            addCriterion("site_id in", values, "siteId");
            return (Criteria) this;
        }

        public Criteria andSiteIdNotIn(List<String> values) {
            addCriterion("site_id not in", values, "siteId");
            return (Criteria) this;
        }

        public Criteria andSiteIdBetween(String value1, String value2) {
            addCriterion("site_id between", value1, value2, "siteId");
            return (Criteria) this;
        }

        public Criteria andSiteIdNotBetween(String value1, String value2) {
            addCriterion("site_id not between", value1, value2, "siteId");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("user_id like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("user_id not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andSiteNameIsNull() {
            addCriterion("site_name is null");
            return (Criteria) this;
        }

        public Criteria andSiteNameIsNotNull() {
            addCriterion("site_name is not null");
            return (Criteria) this;
        }

        public Criteria andSiteNameEqualTo(String value) {
            addCriterion("site_name =", value, "siteName");
            return (Criteria) this;
        }

        public Criteria andSiteNameNotEqualTo(String value) {
            addCriterion("site_name <>", value, "siteName");
            return (Criteria) this;
        }

        public Criteria andSiteNameGreaterThan(String value) {
            addCriterion("site_name >", value, "siteName");
            return (Criteria) this;
        }

        public Criteria andSiteNameGreaterThanOrEqualTo(String value) {
            addCriterion("site_name >=", value, "siteName");
            return (Criteria) this;
        }

        public Criteria andSiteNameLessThan(String value) {
            addCriterion("site_name <", value, "siteName");
            return (Criteria) this;
        }

        public Criteria andSiteNameLessThanOrEqualTo(String value) {
            addCriterion("site_name <=", value, "siteName");
            return (Criteria) this;
        }

        public Criteria andSiteNameLike(String value) {
            addCriterion("site_name like", value, "siteName");
            return (Criteria) this;
        }

        public Criteria andSiteNameNotLike(String value) {
            addCriterion("site_name not like", value, "siteName");
            return (Criteria) this;
        }

        public Criteria andSiteNameIn(List<String> values) {
            addCriterion("site_name in", values, "siteName");
            return (Criteria) this;
        }

        public Criteria andSiteNameNotIn(List<String> values) {
            addCriterion("site_name not in", values, "siteName");
            return (Criteria) this;
        }

        public Criteria andSiteNameBetween(String value1, String value2) {
            addCriterion("site_name between", value1, value2, "siteName");
            return (Criteria) this;
        }

        public Criteria andSiteNameNotBetween(String value1, String value2) {
            addCriterion("site_name not between", value1, value2, "siteName");
            return (Criteria) this;
        }

        public Criteria andSitePhoneIsNull() {
            addCriterion("site_phone is null");
            return (Criteria) this;
        }

        public Criteria andSitePhoneIsNotNull() {
            addCriterion("site_phone is not null");
            return (Criteria) this;
        }

        public Criteria andSitePhoneEqualTo(String value) {
            addCriterion("site_phone =", value, "sitePhone");
            return (Criteria) this;
        }

        public Criteria andSitePhoneNotEqualTo(String value) {
            addCriterion("site_phone <>", value, "sitePhone");
            return (Criteria) this;
        }

        public Criteria andSitePhoneGreaterThan(String value) {
            addCriterion("site_phone >", value, "sitePhone");
            return (Criteria) this;
        }

        public Criteria andSitePhoneGreaterThanOrEqualTo(String value) {
            addCriterion("site_phone >=", value, "sitePhone");
            return (Criteria) this;
        }

        public Criteria andSitePhoneLessThan(String value) {
            addCriterion("site_phone <", value, "sitePhone");
            return (Criteria) this;
        }

        public Criteria andSitePhoneLessThanOrEqualTo(String value) {
            addCriterion("site_phone <=", value, "sitePhone");
            return (Criteria) this;
        }

        public Criteria andSitePhoneLike(String value) {
            addCriterion("site_phone like", value, "sitePhone");
            return (Criteria) this;
        }

        public Criteria andSitePhoneNotLike(String value) {
            addCriterion("site_phone not like", value, "sitePhone");
            return (Criteria) this;
        }

        public Criteria andSitePhoneIn(List<String> values) {
            addCriterion("site_phone in", values, "sitePhone");
            return (Criteria) this;
        }

        public Criteria andSitePhoneNotIn(List<String> values) {
            addCriterion("site_phone not in", values, "sitePhone");
            return (Criteria) this;
        }

        public Criteria andSitePhoneBetween(String value1, String value2) {
            addCriterion("site_phone between", value1, value2, "sitePhone");
            return (Criteria) this;
        }

        public Criteria andSitePhoneNotBetween(String value1, String value2) {
            addCriterion("site_phone not between", value1, value2, "sitePhone");
            return (Criteria) this;
        }

        public Criteria andSiteRemarkIsNull() {
            addCriterion("site_remark is null");
            return (Criteria) this;
        }

        public Criteria andSiteRemarkIsNotNull() {
            addCriterion("site_remark is not null");
            return (Criteria) this;
        }

        public Criteria andSiteRemarkEqualTo(String value) {
            addCriterion("site_remark =", value, "siteRemark");
            return (Criteria) this;
        }

        public Criteria andSiteRemarkNotEqualTo(String value) {
            addCriterion("site_remark <>", value, "siteRemark");
            return (Criteria) this;
        }

        public Criteria andSiteRemarkGreaterThan(String value) {
            addCriterion("site_remark >", value, "siteRemark");
            return (Criteria) this;
        }

        public Criteria andSiteRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("site_remark >=", value, "siteRemark");
            return (Criteria) this;
        }

        public Criteria andSiteRemarkLessThan(String value) {
            addCriterion("site_remark <", value, "siteRemark");
            return (Criteria) this;
        }

        public Criteria andSiteRemarkLessThanOrEqualTo(String value) {
            addCriterion("site_remark <=", value, "siteRemark");
            return (Criteria) this;
        }

        public Criteria andSiteRemarkLike(String value) {
            addCriterion("site_remark like", value, "siteRemark");
            return (Criteria) this;
        }

        public Criteria andSiteRemarkNotLike(String value) {
            addCriterion("site_remark not like", value, "siteRemark");
            return (Criteria) this;
        }

        public Criteria andSiteRemarkIn(List<String> values) {
            addCriterion("site_remark in", values, "siteRemark");
            return (Criteria) this;
        }

        public Criteria andSiteRemarkNotIn(List<String> values) {
            addCriterion("site_remark not in", values, "siteRemark");
            return (Criteria) this;
        }

        public Criteria andSiteRemarkBetween(String value1, String value2) {
            addCriterion("site_remark between", value1, value2, "siteRemark");
            return (Criteria) this;
        }

        public Criteria andSiteRemarkNotBetween(String value1, String value2) {
            addCriterion("site_remark not between", value1, value2, "siteRemark");
            return (Criteria) this;
        }

        public Criteria andSiteProvinceIsNull() {
            addCriterion("site_province is null");
            return (Criteria) this;
        }

        public Criteria andSiteProvinceIsNotNull() {
            addCriterion("site_province is not null");
            return (Criteria) this;
        }

        public Criteria andSiteProvinceEqualTo(String value) {
            addCriterion("site_province =", value, "siteProvince");
            return (Criteria) this;
        }

        public Criteria andSiteProvinceNotEqualTo(String value) {
            addCriterion("site_province <>", value, "siteProvince");
            return (Criteria) this;
        }

        public Criteria andSiteProvinceGreaterThan(String value) {
            addCriterion("site_province >", value, "siteProvince");
            return (Criteria) this;
        }

        public Criteria andSiteProvinceGreaterThanOrEqualTo(String value) {
            addCriterion("site_province >=", value, "siteProvince");
            return (Criteria) this;
        }

        public Criteria andSiteProvinceLessThan(String value) {
            addCriterion("site_province <", value, "siteProvince");
            return (Criteria) this;
        }

        public Criteria andSiteProvinceLessThanOrEqualTo(String value) {
            addCriterion("site_province <=", value, "siteProvince");
            return (Criteria) this;
        }

        public Criteria andSiteProvinceLike(String value) {
            addCriterion("site_province like", value, "siteProvince");
            return (Criteria) this;
        }

        public Criteria andSiteProvinceNotLike(String value) {
            addCriterion("site_province not like", value, "siteProvince");
            return (Criteria) this;
        }

        public Criteria andSiteProvinceIn(List<String> values) {
            addCriterion("site_province in", values, "siteProvince");
            return (Criteria) this;
        }

        public Criteria andSiteProvinceNotIn(List<String> values) {
            addCriterion("site_province not in", values, "siteProvince");
            return (Criteria) this;
        }

        public Criteria andSiteProvinceBetween(String value1, String value2) {
            addCriterion("site_province between", value1, value2, "siteProvince");
            return (Criteria) this;
        }

        public Criteria andSiteProvinceNotBetween(String value1, String value2) {
            addCriterion("site_province not between", value1, value2, "siteProvince");
            return (Criteria) this;
        }

        public Criteria andSiteCityIsNull() {
            addCriterion("site_city is null");
            return (Criteria) this;
        }

        public Criteria andSiteCityIsNotNull() {
            addCriterion("site_city is not null");
            return (Criteria) this;
        }

        public Criteria andSiteCityEqualTo(String value) {
            addCriterion("site_city =", value, "siteCity");
            return (Criteria) this;
        }

        public Criteria andSiteCityNotEqualTo(String value) {
            addCriterion("site_city <>", value, "siteCity");
            return (Criteria) this;
        }

        public Criteria andSiteCityGreaterThan(String value) {
            addCriterion("site_city >", value, "siteCity");
            return (Criteria) this;
        }

        public Criteria andSiteCityGreaterThanOrEqualTo(String value) {
            addCriterion("site_city >=", value, "siteCity");
            return (Criteria) this;
        }

        public Criteria andSiteCityLessThan(String value) {
            addCriterion("site_city <", value, "siteCity");
            return (Criteria) this;
        }

        public Criteria andSiteCityLessThanOrEqualTo(String value) {
            addCriterion("site_city <=", value, "siteCity");
            return (Criteria) this;
        }

        public Criteria andSiteCityLike(String value) {
            addCriterion("site_city like", value, "siteCity");
            return (Criteria) this;
        }

        public Criteria andSiteCityNotLike(String value) {
            addCriterion("site_city not like", value, "siteCity");
            return (Criteria) this;
        }

        public Criteria andSiteCityIn(List<String> values) {
            addCriterion("site_city in", values, "siteCity");
            return (Criteria) this;
        }

        public Criteria andSiteCityNotIn(List<String> values) {
            addCriterion("site_city not in", values, "siteCity");
            return (Criteria) this;
        }

        public Criteria andSiteCityBetween(String value1, String value2) {
            addCriterion("site_city between", value1, value2, "siteCity");
            return (Criteria) this;
        }

        public Criteria andSiteCityNotBetween(String value1, String value2) {
            addCriterion("site_city not between", value1, value2, "siteCity");
            return (Criteria) this;
        }

        public Criteria andSiteDistrictIsNull() {
            addCriterion("site_district is null");
            return (Criteria) this;
        }

        public Criteria andSiteDistrictIsNotNull() {
            addCriterion("site_district is not null");
            return (Criteria) this;
        }

        public Criteria andSiteDistrictEqualTo(String value) {
            addCriterion("site_district =", value, "siteDistrict");
            return (Criteria) this;
        }

        public Criteria andSiteDistrictNotEqualTo(String value) {
            addCriterion("site_district <>", value, "siteDistrict");
            return (Criteria) this;
        }

        public Criteria andSiteDistrictGreaterThan(String value) {
            addCriterion("site_district >", value, "siteDistrict");
            return (Criteria) this;
        }

        public Criteria andSiteDistrictGreaterThanOrEqualTo(String value) {
            addCriterion("site_district >=", value, "siteDistrict");
            return (Criteria) this;
        }

        public Criteria andSiteDistrictLessThan(String value) {
            addCriterion("site_district <", value, "siteDistrict");
            return (Criteria) this;
        }

        public Criteria andSiteDistrictLessThanOrEqualTo(String value) {
            addCriterion("site_district <=", value, "siteDistrict");
            return (Criteria) this;
        }

        public Criteria andSiteDistrictLike(String value) {
            addCriterion("site_district like", value, "siteDistrict");
            return (Criteria) this;
        }

        public Criteria andSiteDistrictNotLike(String value) {
            addCriterion("site_district not like", value, "siteDistrict");
            return (Criteria) this;
        }

        public Criteria andSiteDistrictIn(List<String> values) {
            addCriterion("site_district in", values, "siteDistrict");
            return (Criteria) this;
        }

        public Criteria andSiteDistrictNotIn(List<String> values) {
            addCriterion("site_district not in", values, "siteDistrict");
            return (Criteria) this;
        }

        public Criteria andSiteDistrictBetween(String value1, String value2) {
            addCriterion("site_district between", value1, value2, "siteDistrict");
            return (Criteria) this;
        }

        public Criteria andSiteDistrictNotBetween(String value1, String value2) {
            addCriterion("site_district not between", value1, value2, "siteDistrict");
            return (Criteria) this;
        }

        public Criteria andSiteOther1IsNull() {
            addCriterion("site_other1 is null");
            return (Criteria) this;
        }

        public Criteria andSiteOther1IsNotNull() {
            addCriterion("site_other1 is not null");
            return (Criteria) this;
        }

        public Criteria andSiteOther1EqualTo(Integer value) {
            addCriterion("site_other1 =", value, "siteOther1");
            return (Criteria) this;
        }

        public Criteria andSiteOther1NotEqualTo(Integer value) {
            addCriterion("site_other1 <>", value, "siteOther1");
            return (Criteria) this;
        }

        public Criteria andSiteOther1GreaterThan(Integer value) {
            addCriterion("site_other1 >", value, "siteOther1");
            return (Criteria) this;
        }

        public Criteria andSiteOther1GreaterThanOrEqualTo(Integer value) {
            addCriterion("site_other1 >=", value, "siteOther1");
            return (Criteria) this;
        }

        public Criteria andSiteOther1LessThan(Integer value) {
            addCriterion("site_other1 <", value, "siteOther1");
            return (Criteria) this;
        }

        public Criteria andSiteOther1LessThanOrEqualTo(Integer value) {
            addCriterion("site_other1 <=", value, "siteOther1");
            return (Criteria) this;
        }

        public Criteria andSiteOther1In(List<Integer> values) {
            addCriterion("site_other1 in", values, "siteOther1");
            return (Criteria) this;
        }

        public Criteria andSiteOther1NotIn(List<Integer> values) {
            addCriterion("site_other1 not in", values, "siteOther1");
            return (Criteria) this;
        }

        public Criteria andSiteOther1Between(Integer value1, Integer value2) {
            addCriterion("site_other1 between", value1, value2, "siteOther1");
            return (Criteria) this;
        }

        public Criteria andSiteOther1NotBetween(Integer value1, Integer value2) {
            addCriterion("site_other1 not between", value1, value2, "siteOther1");
            return (Criteria) this;
        }

        public Criteria andSiteOther2IsNull() {
            addCriterion("site_other2 is null");
            return (Criteria) this;
        }

        public Criteria andSiteOther2IsNotNull() {
            addCriterion("site_other2 is not null");
            return (Criteria) this;
        }

        public Criteria andSiteOther2EqualTo(Integer value) {
            addCriterion("site_other2 =", value, "siteOther2");
            return (Criteria) this;
        }

        public Criteria andSiteOther2NotEqualTo(Integer value) {
            addCriterion("site_other2 <>", value, "siteOther2");
            return (Criteria) this;
        }

        public Criteria andSiteOther2GreaterThan(Integer value) {
            addCriterion("site_other2 >", value, "siteOther2");
            return (Criteria) this;
        }

        public Criteria andSiteOther2GreaterThanOrEqualTo(Integer value) {
            addCriterion("site_other2 >=", value, "siteOther2");
            return (Criteria) this;
        }

        public Criteria andSiteOther2LessThan(Integer value) {
            addCriterion("site_other2 <", value, "siteOther2");
            return (Criteria) this;
        }

        public Criteria andSiteOther2LessThanOrEqualTo(Integer value) {
            addCriterion("site_other2 <=", value, "siteOther2");
            return (Criteria) this;
        }

        public Criteria andSiteOther2In(List<Integer> values) {
            addCriterion("site_other2 in", values, "siteOther2");
            return (Criteria) this;
        }

        public Criteria andSiteOther2NotIn(List<Integer> values) {
            addCriterion("site_other2 not in", values, "siteOther2");
            return (Criteria) this;
        }

        public Criteria andSiteOther2Between(Integer value1, Integer value2) {
            addCriterion("site_other2 between", value1, value2, "siteOther2");
            return (Criteria) this;
        }

        public Criteria andSiteOther2NotBetween(Integer value1, Integer value2) {
            addCriterion("site_other2 not between", value1, value2, "siteOther2");
            return (Criteria) this;
        }

        public Criteria andSiteOther3IsNull() {
            addCriterion("site_other3 is null");
            return (Criteria) this;
        }

        public Criteria andSiteOther3IsNotNull() {
            addCriterion("site_other3 is not null");
            return (Criteria) this;
        }

        public Criteria andSiteOther3EqualTo(String value) {
            addCriterion("site_other3 =", value, "siteOther3");
            return (Criteria) this;
        }

        public Criteria andSiteOther3NotEqualTo(String value) {
            addCriterion("site_other3 <>", value, "siteOther3");
            return (Criteria) this;
        }

        public Criteria andSiteOther3GreaterThan(String value) {
            addCriterion("site_other3 >", value, "siteOther3");
            return (Criteria) this;
        }

        public Criteria andSiteOther3GreaterThanOrEqualTo(String value) {
            addCriterion("site_other3 >=", value, "siteOther3");
            return (Criteria) this;
        }

        public Criteria andSiteOther3LessThan(String value) {
            addCriterion("site_other3 <", value, "siteOther3");
            return (Criteria) this;
        }

        public Criteria andSiteOther3LessThanOrEqualTo(String value) {
            addCriterion("site_other3 <=", value, "siteOther3");
            return (Criteria) this;
        }

        public Criteria andSiteOther3Like(String value) {
            addCriterion("site_other3 like", value, "siteOther3");
            return (Criteria) this;
        }

        public Criteria andSiteOther3NotLike(String value) {
            addCriterion("site_other3 not like", value, "siteOther3");
            return (Criteria) this;
        }

        public Criteria andSiteOther3In(List<String> values) {
            addCriterion("site_other3 in", values, "siteOther3");
            return (Criteria) this;
        }

        public Criteria andSiteOther3NotIn(List<String> values) {
            addCriterion("site_other3 not in", values, "siteOther3");
            return (Criteria) this;
        }

        public Criteria andSiteOther3Between(String value1, String value2) {
            addCriterion("site_other3 between", value1, value2, "siteOther3");
            return (Criteria) this;
        }

        public Criteria andSiteOther3NotBetween(String value1, String value2) {
            addCriterion("site_other3 not between", value1, value2, "siteOther3");
            return (Criteria) this;
        }

        public Criteria andSiteOther4IsNull() {
            addCriterion("site_other4 is null");
            return (Criteria) this;
        }

        public Criteria andSiteOther4IsNotNull() {
            addCriterion("site_other4 is not null");
            return (Criteria) this;
        }

        public Criteria andSiteOther4EqualTo(String value) {
            addCriterion("site_other4 =", value, "siteOther4");
            return (Criteria) this;
        }

        public Criteria andSiteOther4NotEqualTo(String value) {
            addCriterion("site_other4 <>", value, "siteOther4");
            return (Criteria) this;
        }

        public Criteria andSiteOther4GreaterThan(String value) {
            addCriterion("site_other4 >", value, "siteOther4");
            return (Criteria) this;
        }

        public Criteria andSiteOther4GreaterThanOrEqualTo(String value) {
            addCriterion("site_other4 >=", value, "siteOther4");
            return (Criteria) this;
        }

        public Criteria andSiteOther4LessThan(String value) {
            addCriterion("site_other4 <", value, "siteOther4");
            return (Criteria) this;
        }

        public Criteria andSiteOther4LessThanOrEqualTo(String value) {
            addCriterion("site_other4 <=", value, "siteOther4");
            return (Criteria) this;
        }

        public Criteria andSiteOther4Like(String value) {
            addCriterion("site_other4 like", value, "siteOther4");
            return (Criteria) this;
        }

        public Criteria andSiteOther4NotLike(String value) {
            addCriterion("site_other4 not like", value, "siteOther4");
            return (Criteria) this;
        }

        public Criteria andSiteOther4In(List<String> values) {
            addCriterion("site_other4 in", values, "siteOther4");
            return (Criteria) this;
        }

        public Criteria andSiteOther4NotIn(List<String> values) {
            addCriterion("site_other4 not in", values, "siteOther4");
            return (Criteria) this;
        }

        public Criteria andSiteOther4Between(String value1, String value2) {
            addCriterion("site_other4 between", value1, value2, "siteOther4");
            return (Criteria) this;
        }

        public Criteria andSiteOther4NotBetween(String value1, String value2) {
            addCriterion("site_other4 not between", value1, value2, "siteOther4");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}